﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>view-个人博客</title>
	<meta name="keywords" content="个人网站模板,个人博客,博客模板,css3,html5,网站" />
	<meta name="description" content="杨永贞的个人博客" />
	<link href="/assets/css/styles.css" rel="stylesheet">
	<link href="/assets/css/view.css" rel="stylesheet">
	<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.0/styles/atom-one-dark.min.css"> -->
	<script src="https://cdn.bootcss.com/jquery/3.5.0/jquery.min.js"></script>

	<!-- 返回顶部调用 begin -->
	<link href="/assets/css/lrtk.css" rel="stylesheet" />
	<script type="text/javascript" src="/assets/js/jquery.js"></script>
	<script type="text/javascript" src="/assets/js/js.js"></script>	  
</head>
<header>
	<nav id="nav">
	  <ul>
		<li><a href="/" >首页</a></li>
		<li><a href="/"  title="慢生活">慢生活</a></li>
		<li><a href="/"  title="碎言碎语">碎言碎语</a></li>
		<li><a href="/liuyan"  title="留言版">留言版</a></li>
		<li><a href="/about"  title="关于我">关于我</a></li>
	  </ul>
	  <script src="/assets/js/silder.js"></script><!--获取当前页导航 高亮显示标题--> 
	</nav>
  </header>
  <!--header end-->
<body>
<div id="mainbody">
	<div class="blogs">
	  <div id="index_view">
		<h2 class="t_nav"><a href="/">首页</a><a href="/liuyan">留言板</a></h2>
		<h1 id="titiles" class="c_titile">what do you want to say to me?</h1>
		<ul>
			<div class="md_render">
				<img src="/assets/images/liuyan-web.jpg">
			</div>
		</ul>
		<div id="alpha">
			<div style="display: inline-block ! important;width: 100%;">
			</div>
			<div id="comments" class="comments">
				<div class="comments-open" id="comments-open">
					<h2 class="comments-open-header">我要留言</h2>
					<div class="comments-open-content">
						<div id="comment-greeting"></div>
			
						<form method="post" action="/comment" name="comments_form" id="comments-form" onsubmit="return pleaseWait();">
							<input type="hidden" name="id" value="about" />
							<input type="hidden" name="item" value="关于" />
							<input type="hidden" name="title" value="留言板 " />
							<div id="comments-open-data">
						<div id="comments-open-text">
								<p><label for="comment-text">您的留言
								（HTML标签部分可用）</label></p>
								<p><textarea id="comment-text" name="text" rows="10" cols="50"></textarea></p>
							</div>
								<div id="comment-form-name">
									<p><label for="comment-author">您的大名：</label></p>
									<p><input id="comment-author" name="author" size="30" value="" />  <span class="hint"> &laquo;-必填</span></p>
								</div>
								<div id="comment-form-email">
									<p><label for="comment-email">电子邮件：</label></p>
									<p><input id="comment-email" name="email" size="30" value="" />  <span class="hint"> &laquo;-必填，不公开</span></p>
								</div>
								<div id="comment-form-url">
									<p><label for="comment-url">个人网址：</label></p>
									<p><input id="comment-url" name="url" size="30" value="" />  <span class="hint"> &laquo;-选填</span></p>
								</div>
							</div>
							
							<div id="comments-open-captcha"></div>
							<div id="comments-open-footer">
							<div id="wait" style="display:none;">
							<p><strong>正在发表您的评论，请稍候</strong></p>
							<p>
							<input type="text" name="percent" size="3" style="font-family:Arial; color:black;text-align:center; border-width:medium; border-style:none;">           
							<input type="text" name="chart" size="46" style="font-family:Arial;font-weight:bolder; color:black; padding:0px; border-style:none;">
							</p>
							</div>
			
								<p><input type="submit" accesskey="s" name="post" id="comment-submit" value="发表" />  <span class="hint"> &laquo;- 点击按钮</span></p>
							</div>
						</form>
					</div>
				</div>
				<h2 class="comments-header">留言（{{.cmtcounts}}条）</h2>
				<div id="comments-content" class="comments-content" style="clear: left;">
					{{range $i,$v := .cmts}}
					<div id="comment-{{$i}}" class="comment">
						<div  class="inner">
							<div class="comment-header">
								<div class="asset-meta">
								<p><span class="byline">
									<span class="vcard author">
										{{if eq $v.URL ""}}
										{{$v.User}}
										{{else}}
										<a title="{{$v.URL}}" href="http://{{$v.URL}}" target="_blank" rel="nofollow">{{$v.User}}</a>
										{{end}}
									</span>说：</span></p>
							   </div>
							</div>
							<div class="comment-content" id="comment-quote-{{$i}}">   
								{{$v.Text}}
							</div>
							<div class="comment-footer">
								<div class="comment-footer-inner">
									<p>
									<abbr class="published" title="{{$v.Title}}">{{$v.Times}}</abbr>
									| <a href="/article/{{$v.ID}}">#</a>
									| <a href="#comment-text" title="引用{{$v.User}}的这条留言" onclick="return CommentQuote('comment-quote-{{$i}}','{{$v.User}}');">引用</a>
									</p>
								</div>
							</div>
						</div>
					</div>
					{{end}}
				</div>
				
			</div>
	   </div>
	
	  </div>
	  <!--bloglist end-->
	  <aside>
		<div class="search">
		  <form class="searchform" method="get" action="#">
			<input type="text" name="s" value="Search" onfocus="this.value=''" onblur="this.value='Search'">
		  </form>
		</div>
		<div class="sunnav">
		  <ul>
			{{range $i,$v := .items}}
			<li><a href="/items/{{$i}}" title="{{$v}}">{{$v}}</a></li>
			{{end}}
		  </ul>
		</div>
		<div class="tuijian">
			<h2>最新文章</h2>
			<ol>
			  {{range $i,$v := .newart}}
			  <li><span><strong>{{add $i 1}}</strong></span><a href="/article/{{$v.ID}}">{{$v.Title}}</a></li>
			  {{end}}
			</ol>
		</div>
		<div class="clicks">
		<h2>热门点击</h2>
		<ol>
			{{range $i,$v := .hotart}}
			<li><span><a href="/">{{$v.Item}}</a></span><a href="/article/{{$v.ID}}">{{$v.Title}}</a></li>
			{{end}}
		</ol>
		</div>
	  </aside>
	<!--blogs end--> 
    </div>
  <!--mainbody end-->
  <!--mainbody end-->
  {{template "footer" .}} 
  <!-- 代码结束 -->
  <script>

  </script>
  </body>
</html>